package com.friend.joey.applicationfriend.Classes;

import android.os.Parcel;
import android.os.Parcelable;

import com.baidu.trace.api.track.TrackPoint;
import com.baidu.trace.model.LatLng;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Joey on 2017/5/18.
 */

public class MyPoint implements Serializable{
    //private static final long serialVersionUID = -7060210544600464481L;

    private double a;
    private double b;

    public MyPoint(TrackPoint s){
        a=s.getLocation().latitude;
        b=s.getLocation().longitude;
    }

    public String getString( ){
        return Double.toString(a)+" "+Double.toString(b)+" ";
    }
    public double getLatitude(){
        return a;
    }
    public double getLongitude(){
        return b;
    }

}
